
/* 关闭默认聚焦效果 */
* {
    -fx-focus-color: transparent;
    -fx-faint-focus-color: transparent;
}

/* 白色主题菜单样式 */
.context-menu {
    -fx-border-color: #d7d3d3;
    -fx-background-color: #fafafa;
    -fx-border-radius: 6px;
    -fx-background-insets: 0;
    -fx-padding: 0;
    -fx-background-radius: 6px;
    -fx-effect: dropshadow(gaussian, rgb(215, 215, 215), 10, 0, 0, 0); /* 增加阴影效果 */
    -fx-font-family: "Microsoft YaHei";
    -fx-text-fill: #1a1a1a;
}
.context-menu .menu-item {
    -fx-background-radius: 4px;
    -fx-padding: 10px 30px 9px 11px;
    -fx-font-size: 14px;
    -fx-cursor: hand;
    -fx-background-color: transparent; /* 设置默认背景颜色 */

}

.context-menu .label {
    -fx-text-fill: #1a1a1a;
}

.context-menu .menu-item:hover {
    -fx-background-color: rgba(10, 20, 28, 0.1);
}

.context-menu .menu-item:pressed {
    -fx-background-color: #cdcccc;
}

#scrollPane{
    -fx-background-color: #fafafa;
    /*-fx-border-color: #e5e5e5;*/
    -fx-border-color: transparent;
    -fx-background-radius: 9px; /* 设置背景圆角 */
    -fx-border-radius: 9px; /* 设置边框圆角 */
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 6, 0, 0, 0); /* 增加阴影效果 */

}


#scrollPane .viewport {
    -fx-background-radius: 9px; /* 设置内容区域的圆角 */

}

#fileArea{
    -fx-background-color: #fafafa;
    -fx-background-radius: 10px; /* 设置背景圆角 */
    -fx-border-radius: 10px; /* 设置边框圆角 */
    -fx-padding: 5px; /* 内边距 */
}


#catalog{
    -fx-background-color: #f3f3f3;
    -fx-border-color:transparent ;

}

#catalog .tree-cell{
    -fx-background-color: #f3f3f3;

}


#searchfield{
    /*-fx-background-color: transparent;*/
    -fx-text-fill: black;
    -fx-font-size: 13;
    -fx-background-radius: 4.5px;
    -fx-border-radius: 2.5px;
    -fx-background-color: #fcfcfc;
    -fx-border-color: transparent   ;
    -fx-border-width: 1.4px;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 6, 0, 0, 0); /* 增加阴影效果 */

}

#searchfield:focused {
    -fx-border-color: transparent transparent blue transparent;
    -fx-border-width: 1.4px;
}

#viewfilePath{
    /*-fx-background-color: transparent;*/
    -fx-text-fill: black;
    -fx-font-size: 13;
    -fx-background-radius: 4.5px;
    -fx-border-radius: 2.5px;
    -fx-background-color: #fcfcfc;
    -fx-border-color: transparent   ;
    -fx-border-width: 1.4px;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 6, 0, 0, 0); /* 增加阴影效果 */

}

/*#filePath:focused {*/
/*    -fx-border-color: transparent transparent blue transparent;*/
/*    -fx-border-width: 1.4px;*/
/*}*/




#backFile{
    -fx-background-image: url('../img/左.png');
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-background-size: 80% 100%;
    -fx-background-repeat: no-repeat;
    -fx-background-position: center;

}

#backFile:hover {
    -fx-background-color: #f9f9f9;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 4, 0, 0, 0); /* 增加阴影效果 */
    -fx-background-radius: 5px;

}

#backFile:pressed {
    -fx-background-color: #cbcaca;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 0, 0, 0, 0);
    -fx-background-radius: 5px;
}




#advanceFile{
    -fx-background-image: url('../img/右.png');
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-background-size: 80% 100%;
    -fx-background-repeat: no-repeat;
    -fx-background-position: center;

}

#advanceFile:hover {
    -fx-background-color: #f9f9f9;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 4, 0, 0, 0); /* 增加阴影效果 */
    -fx-background-radius: 5px;

}

#advanceFile:pressed {
    -fx-background-color: #cbcaca;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 0, 0, 0, 0);
    -fx-background-radius: 5px;
}



#lastFile{
    -fx-background-image: url('../img/上.png');
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-background-size: 80% 100%;
    -fx-background-repeat: no-repeat;
    -fx-background-position: center;

}


#lastFile:hover {
    -fx-background-color: #f9f9f9;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 4, 0, 0, 0); /* 增加阴影效果 */
    -fx-background-radius: 5px;
}

#lastFile:pressed {
    -fx-background-color: #cbcaca;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 0, 0, 0, 0);
    -fx-background-radius: 5px;
}





#fr{
    -fx-background-image: url('../img/刷新.png');
    -fx-background-color: transparent;
    -fx-border-color: transparent;
    -fx-background-size: 90% 100%;
    -fx-background-repeat: no-repeat;
    -fx-background-position: center;
    -fx-image-rendering: -fx-crisp-edges; /* 设置抗锯齿效果 */
}


#fresh{
        -fx-background-color: transparent;

}

#fresh:hover {
    -fx-background-color: #f9f9f9;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 4, 0, 0, 0); /* 增加阴影效果 */
    -fx-background-radius: 5px;
}

#fresh:pressed {
    -fx-background-color: #cbcaca;
    -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.3), 0, 0, 0, 0);
    -fx-background-radius: 5px;
}
